

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title></title>
    </head>
    <body>
        <?php

        $tmpV=array(4);
        for($y=0;$y<4;$y++)
            $tmpV[$y]="";

        
        $cont=0;
        $seedAlternative = '';
        while($cont<4)
        {
            srand((double)microtime()*100000000);
            $indice=rand(0, 3);
            echo 'indice ' . $indice."\n";
            if($tmpV[$indice]=="")
            {
                echo 'piazzo a ' . $indice ."\n";
                $tmpV[$indice]='busy';
                echo '$tmpV[$indice] : '. $tmpV[$indice];
                $tmp2=$indice+1;
                $seedAlternative=$seedAlternative . "-" . $tmp2;
                $cont++;
            }

        }
        echo $seedAlternative;
        ?>
    </body>
</html>
